/**
 * @Description链表的面试题
 */

public class Test {

    public static void main(String[] args) {
    MySingleList mySingleList = new MySingleList();
    //mySingleList.crateList();
   // mySingleList.show();
    //System.out.println(" ");
    //mySingleList.reserveLast();
    mySingleList.show();
    //mySingleList.findMiddleNode();
    //MySingleList.List ret = mySingleList.findMiddleNode();
    //System.out.println(ret.val);
    mySingleList.kthToLast(2);
    mySingleList.show();
    }
}
